﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QLKTX1._0.DTO
{
    class QuyenDTO
    {
        private int maQuyen;
        private string tenQuyen;
        private string moTaQ;
        private NhomQuyenDTO maNhomQuyen;

        public int MaQuyen
        {
            get { return maQuyen; }
            set { maQuyen = value; }
        }
        public string TenQuyen
        {
            get { return tenQuyen; }
            set { tenQuyen = value; }
        }
        public string MoTaQ
        {
            get { return moTaQ; }
            set { moTaQ = value; }
        }
        public NhomQuyenDTO MaNhomQuyen
        {
            get { return maNhomQuyen; }
            set { maNhomQuyen = value; }
        }

        public QuyenDTO()
        {

        }

        public QuyenDTO(int maQuyen, string tenQuyen, string moTaQ, NhomQuyenDTO maNhomQuyen)
        {
            this.maQuyen = maQuyen;
            this.tenQuyen = tenQuyen;
            this.moTaQ = moTaQ;
            this.maNhomQuyen = maNhomQuyen;
        }
    }
}
